#ifndef _PWM_H
#define _PWM_H

#ifdef __cplusplus
extern "C"
{
#endif

#include "stdint.h"
#ifdef __cplusplus
}
#endif

class PWM
{
private:
public:
    uint8_t ChannelNum;
    PWM(uint8_t _channelNum) : ChannelNum(_channelNum){};
    virtual void Init(uint8_t _channel) = 0;
    virtual void SetDuty(uint8_t _channel, uint32_t _duty) = 0;
};

#endif
